package com.gmzg.gmzgnews.topic.impl;

import com.gmzg.gmzgnews.topic.model.FoodParent;
import com.gmzg.gmzgnews.topic.model.NewsParent;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Path;
import retrofit2.http.Query;

/**
 * Created by liuyi_s on 2016/11/2 11:55.
 * Email：liuyi_s@foxmail.com
 */

public interface TopicFollowService {

    @GET("/api/{category}/list")
    Call<FoodParent> getList(@Path("category") String category,
                            @Query("id") int id,
                            @Query("page") int page,
                            @Query("rows") int rows);


}
